<html>
 <head>
  <meta charset="utf-8"/>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
  <title>
   怎样利用Spark Streaming和Hadoop实现近实时的会话连接  | 数螺 | NAUT IDEA
  </title>
  <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" rel="stylesheet"/>
  <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/>
  <style type="text/css">
   #xmain img {
                  max-width: 100%;
                  display: block;
                  margin-top: 10px;
                  margin-bottom: 10px;
                }

                #xmain p {
                    line-height:150%;
                    font-size: 16px;
                    margin-top: 20px;
                }

                #xmain h2 {
                    font-size: 24px;
                }

                #xmain h3 {
                    font-size: 20px;
                }

                #xmain h4 {
                    font-size: 18px;
                }


                .header {
	           background-color: #0099ff;
	           color: #ffffff;
	           margin-bottom: 20px;
	        }

	        .header p {
                  margin: 0px;
                  padding: 10px 0;
                  display: inline-block;  
                  vertical-align: middle;
                  font-size: 16px;
               }

               .header a {
                 color: white;
               }

              .header img {
                 height: 25px;
              }
  </style>
  <script src="http://cdn.bootcss.com/jquery/3.0.0/jquery.min.js">
  </script>
  <script src="http://nautstatic-10007657.file.myqcloud.com/static/css/readability.min.js" type="text/javascript">
  </script>
  <script type="text/javascript">
   $(document).ready(function() {
                 var loc = document.location;
                 var uri = {
                  spec: "http://dataunion.org/19786.html",
                  host: "http://dataunion.org",
                  prePath: "http://dataunion.org",
                  scheme: "http",
                  pathBase: "http://dataunion.org/"
                 };
    
                 var documentClone = document.cloneNode(true);
                 var article = new Readability(uri, documentClone).parse();
     
                 document.getElementById("xmain").innerHTML = article.content;
                });
  </script>
  <!-- 1466461307: Accept with keywords: (title(0.333333333333):社区,会话,数盟,Hadoop,利用,Spark, topn(0.433333333333):社区,数盟,深度学习,行业资讯,时间,事件,数据挖掘,数据分析,人工智能,职业规划,模式,例子,基础架构,文章,可视化,Spark,数据,函数,记录,Hadoop,计数,新手,spark,编程语言,会话,网站,代码,样例,行业,访问者).-->
 </head>
 <body onload="">
  <div class="header">
   <div class="container">
    <div class="row">
     <div class="col-xs-6 col-sm-6 text-left">
      <a href="/databee">
       <img src="http://nautidea-10007657.cos.myqcloud.com/logo_white.png"/>
      </a>
      <a href="/databee">
       <p>
        数螺
       </p>
      </a>
     </div>
     <div class="hidden-xs col-sm-6 text-right">
      <p>
       致力于数据科学的推广和知识传播
      </p>
     </div>
    </div>
   </div>
  </div>
  <div class="container text-center">
   <h1>
    怎样利用Spark Streaming和Hadoop实现近实时的会话连接
   </h1>
  </div>
  <div class="container" id="xmain">
   ﻿﻿
   <title>
    怎样利用Spark Streaming和Hadoop实现近实时的会话连接 | 数盟社区
   </title>
   <!-- All in One SEO Pack 2.2.7.6.2 by Michael Torbert of Semper Fi Web Design[32,83] -->
   <!-- /all in one seo pack -->
   <!--
<div align="center">
<a href="http://strata.oreilly.com.cn/hadoop-big-data-cn?cmp=mp-data-confreg-home-stcn16_dataunion_pc" target="_blank"><img src="http://dataunion.org/wp-content/uploads/2016/05/stratabj.jpg"/ ></a>
</div>
-->
   <header id="header-web">
    <div class="header-main">
     <hgroup class="logo">
      <h1>
       <a href="http://dataunion.org/" rel="home" title="数盟社区">
        <img src="http://dataunion.org/wp-content/themes/yzipi/images/logo.png"/>
       </a>
      </h1>
     </hgroup>
     <!--logo-->
     <nav class="header-nav">
      <ul class="menu" id="menu-%e4%b8%bb%e8%8f%9c%e5%8d%95">
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-71" id="menu-item-71">
        <a href="http://dataunion.org/category/events" title="events">
         活动
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22457" id="menu-item-22457">
          <a href="http://dataunion.org/2016timeline">
           2016档期
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-22459" id="menu-item-22459">
          <a href="http://dataunion.org/category/parterc">
           合作会议
          </a>
         </li>
        </ul>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-has-children menu-item-20869" id="menu-item-20869">
        <a href="http://dataunion.org/category/tech" title="articles">
         文章
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20867" id="menu-item-20867">
          <a href="http://dataunion.org/category/tech/base" title="base">
           基础架构
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3302" id="menu-item-3302">
          <a href="http://dataunion.org/category/tech/ai" title="ai">
           人工智能
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3303" id="menu-item-3303">
          <a href="http://dataunion.org/category/tech/analysis" title="analysis">
           数据分析
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21920" id="menu-item-21920">
          <a href="http://dataunion.org/category/tech/dm">
           数据挖掘
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3314" id="menu-item-3314">
          <a href="http://dataunion.org/category/tech/viz" title="viz">
           可视化
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-3305" id="menu-item-3305">
          <a href="http://dataunion.org/category/tech/devl" title="devl">
           编程语言
          </a>
         </li>
        </ul>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-20876" id="menu-item-20876">
        <a href="http://dataunion.org/category/industry">
         行业
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-16328" id="menu-item-16328">
          <a href="http://dataunion.org/category/industry/case" title="case">
           行业应用
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-2112" id="menu-item-2112">
          <a href="http://dataunion.org/category/industry/demo" title="demo">
           Demo展示
          </a>
         </li>
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21562" id="menu-item-21562">
          <a href="http://dataunion.org/category/industry/news">
           行业资讯
          </a>
         </li>
        </ul>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-311" id="menu-item-311">
        <a href="http://dataunion.org/category/sources" title="sources">
         资源
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20870" id="menu-item-20870">
        <a href="http://dataunion.org/category/books" title="book">
         图书
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-21363" id="menu-item-21363">
        <a href="http://dataunion.org/category/training">
         课程
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-has-children menu-item-21853" id="menu-item-21853">
        <a href="http://dataunion.org/category/jobs">
         职位
        </a>
        <ul class="sub-menu">
         <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-22050" id="menu-item-22050">
          <a href="http://dataunion.org/category/career">
           职业规划
          </a>
         </li>
        </ul>
       </li>
      </ul>
     </nav>
     <!--header-nav-->
    </div>
   </header>
   <!--header-web-->
   <div id="main">
    <div id="soutab">
     <form action="http://dataunion.org/" class="search" method="get">
     </form>
    </div>
    <div id="container">
     <nav id="mbx">
      当前位置：
      <a href="http://dataunion.org">
       首页
      </a>
      &gt;
      <a href="http://dataunion.org/category/tech">
       文章
      </a>
      &gt;  正文
     </nav>
     <!--mbx-->
     <article class="content">
      <header align="centre" class="contenttitle">
       <div class="mscc">
        <h1 class="mscctitle">
         <a href="http://dataunion.org/19786.html">
          怎样利用Spark Streaming和Hadoop实现近实时的会话连接
         </a>
        </h1>
        <address class="msccaddress ">
         <em>
          2,103 次阅读 -
         </em>
         <a href="http://dataunion.org/category/tech" rel="category tag">
          文章
         </a>
        </address>
       </div>
      </header>
      <div class="content-text">
       <p>
        <strong>
         这个 Spark Streaming 样例是一个可持久化到Hadoop近实时会话的很好的例子。
        </strong>
       </p>
       <p>
        <a href="https://spark.apache.org/streaming">
         Spark Streaming
        </a>
        是Apache Spark 中最有趣的组件之一。你用Spark Streaming可以创建数据管道来用批量加载数据一样的
        <span class="caps">
         API
        </span>
        处理流式数据。此外，Spark Steaming的“micro-batching”方式提供相当好的弹性来应对一些原因造成的任务失败。
       </p>
       <p>
        在这篇文章中，我将通过网站的事件近实时回话的例子演示使你熟悉一些常见的和高级的Spark Streaming功能，然后加载活动有关的统计数据到Apache HBase，用不喜欢的
        <span class="caps">
         BI
        </span>
        用具来绘图分析。 (
        <a href="http://en.wikipedia.org/wiki/Sessionization">
         Sessionization
        </a>
        指的是捕获的单一访问者的网站会话时间范围内所有点击流活动。)你可以在
        <a href="https://github.com/tmalaska/SparkStreaming.Sessionization">
         这里
        </a>
        找到了这个演示的代码。
       </p>
       <p>
        像这样的系统对于了解访问者的行为（无论是人还是机器）是超级有用的。通过一些额外的工作它也可以被设计成windowing模式来以异步方式检测可能的欺诈。
       </p>
       <p>
        Spark Streaming 代码
       </p>
       <p>
        我们的例子中的main class是：
       </p>
       <p>
        <code>
         com.cloudera.sa.example.sparkstreaming.sessionization.SessionizeData
        </code>
       </p>
       <p>
        让我们来看看这段代码段（忽略1-59行，其中包含imports 和其他无聊的东西）。
       </p>
       <p>
        60到112行：设置Spark Streaming 这些行是非常基本的，用来设置的Spark Streaming，同时可以选择从
        <span class="caps">
         HDFS
        </span>
        或socket接收数据流。如果你在Spark Streaming方面是一个新手，我已经添加了一些详细的注释帮助理解代码。 （我不打算在这里详谈，因为仍然在样例代码里。）
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383b59707820893" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="c1"&gt;//This is just creating a Spark Config object.  I don't do much here but&lt;/span&gt;

&lt;span class="c1"&gt;//add the app name.  There are tons of options to put into the Spark config,&lt;/span&gt;

&lt;span class="c1"&gt;//but none are needed for this simple example.&lt;/span&gt;
    &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;sparkConf&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;SparkConf&lt;/span&gt;&lt;span class="o"&gt;().&lt;/span&gt;
      &lt;span class="n"&gt;setAppName&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"SessionizeData "&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;)).&lt;/span&gt;
      &lt;span class="n"&gt;set&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"spark.cleaner.ttl"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"120000"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;


&lt;span class="c1"&gt;//These two lines will get us out SparkContext and our StreamingContext.&lt;/span&gt;

&lt;span class="c1"&gt;//These objects have all the root functionality we need to get started.&lt;/span&gt;
    &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;sc&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;SparkContext&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sparkConf&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;ssc&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;StreamingContext&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sc&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Seconds&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;


&lt;span class="c1"&gt;//Here are are loading our HBase Configuration object.  This will have&lt;/span&gt;

&lt;span class="c1"&gt;//all the information needed to connect to our HBase cluster.&lt;/span&gt;

&lt;span class="c1"&gt;//There is nothing different here from when you normally interact with HBase.&lt;/span&gt;
    &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;conf&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;HBaseConfiguration&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;create&lt;/span&gt;&lt;span class="o"&gt;();&lt;/span&gt;
    &lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addResource&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"/etc/hbase/conf/core-site.xml"&lt;/span&gt;&lt;span class="o"&gt;));&lt;/span&gt;
    &lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;addResource&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Path&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"/etc/hbase/conf/hbase-site.xml"&lt;/span&gt;&lt;span class="o"&gt;));&lt;/span&gt;


&lt;span class="c1"&gt;//This is a HBaseContext object.  This is a nice abstraction that will hide&lt;/span&gt;

&lt;span class="c1"&gt;//any complex HBase stuff from us so we can focus on our business case&lt;/span&gt;

&lt;span class="c1"&gt;//HBaseContext is from the SparkOnHBase project which can be found at&lt;/span&gt;

&lt;span class="c1"&gt;// https://github.com/tmalaska/SparkOnHBase&lt;/span&gt;
    &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;hbaseContext&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;HBaseContext&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;sc&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;conf&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;


&lt;span class="c1"&gt;//This is create a reference to our root DStream.  DStreams are like RDDs but&lt;/span&gt;

&lt;span class="c1"&gt;//with the context of being in micro batch world.  I set this to null now&lt;/span&gt;

&lt;span class="c1"&gt;//because I later give the option of populating this data from HDFS or from&lt;/span&gt;

&lt;span class="c1"&gt;//a socket.  There is no reason this could not also be populated by Kafka,&lt;/span&gt;

&lt;span class="c1"&gt;//Flume, MQ system, or anything else.  I just focused on these because&lt;/span&gt;

&lt;span class="c1"&gt;//there are the easiest to set up.&lt;/span&gt;
    &lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;DStream&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;


&lt;span class="c1"&gt;//Options for data load.  Will be adding Kafka and Flume at some point&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="n"&gt;equals&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"socket"&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;host&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;FIXED_ARGS&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
      &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;port&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;FIXED_ARGS&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;

      &lt;span class="n"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"host:"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
      &lt;span class="n"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"port:"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="nc"&gt;Integer&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parseInt&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;port&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;


&lt;span class="c1"&gt;//Simple example of how you set up a receiver from a Socket Stream&lt;/span&gt;
      &lt;span class="n"&gt;lines&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ssc&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;socketTextStream&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;host&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;port&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toInt&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="n"&gt;equals&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"newFile"&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

      &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;directory&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;args&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;FIXED_ARGS&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
      &lt;span class="n"&gt;println&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"directory:"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;directory&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;


&lt;span class="c1"&gt;//Simple example of how you set up a receiver from a HDFS folder&lt;/span&gt;
      &lt;span class="n"&gt;lines&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ssc&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fileStream&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;LongWritable&lt;/span&gt;, &lt;span class="kt"&gt;Text&lt;/span&gt;, &lt;span class="kt"&gt;TextInputFormat&lt;/span&gt;&lt;span class="o"&gt;](&lt;/span&gt;&lt;span class="n"&gt;directory&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Path&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;_&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toString&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;throw&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;RuntimeException&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"bad input type"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-8">
                 8
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-9">
                 9
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-10">
                 10
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-11">
                 11
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-12">
                 12
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-13">
                 13
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-14">
                 14
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-15">
                 15
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-16">
                 16
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-17">
                 17
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-18">
                 18
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-19">
                 19
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-20">
                 20
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-21">
                 21
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-22">
                 22
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-23">
                 23
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-24">
                 24
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-25">
                 25
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-26">
                 26
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-27">
                 27
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-28">
                 28
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-29">
                 29
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-30">
                 30
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-31">
                 31
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-32">
                 32
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-33">
                 33
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-34">
                 34
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-35">
                 35
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-36">
                 36
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-37">
                 37
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-38">
                 38
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-39">
                 39
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-40">
                 40
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-41">
                 41
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-42">
                 42
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-43">
                 43
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-44">
                 44
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-45">
                 45
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-46">
                 46
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-47">
                 47
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-48">
                 48
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-49">
                 49
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-50">
                 50
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-51">
                 51
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-52">
                 52
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-53">
                 53
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-54">
                 54
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-55">
                 55
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-56">
                 56
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-57">
                 57
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-58">
                 58
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-59">
                 59
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-60">
                 60
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-61">
                 61
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-62">
                 62
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-63">
                 63
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-64">
                 64
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-65">
                 65
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-66">
                 66
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-67">
                 67
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-68">
                 68
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-69">
                 69
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-70">
                 70
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-71">
                 71
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b59707820893-72">
                 72
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b59707820893-73">
                 73
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383b59707820893-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //This is just creating a Spark Config object.  I don't do much here but&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-2">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-3">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //add the app name.  There are tons of options to put into the Spark config,&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-4">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-5">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //but none are needed for this simple example.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-6">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  sparkConf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  SparkConf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-7">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  setAppName
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "SessionizeData "
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  args
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  0
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-8">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  set
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "spark.cleaner.ttl"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "120000"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-9">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-10">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-11">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //These two lines will get us out SparkContext and our StreamingContext.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-12">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-13">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //These objects have all the root functionality we need to get started.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-14">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  sc
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  SparkContext
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  sparkConf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-15">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ssc
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  StreamingContext
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  sc
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Seconds
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  10
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-16">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-17">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-18">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Here are are loading our HBase Configuration object.  This will have&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-19">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-20">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //all the information needed to connect to our HBase cluster.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-21">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-22">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //There is nothing different here from when you normally interact with HBase.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-23">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  conf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  HBaseConfiguration
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  create
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-24">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  conf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  addResource
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Path
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "/etc/hbase/conf/core-site.xml"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-25">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  conf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  addResource
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Path
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "/etc/hbase/conf/hbase-site.xml"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-26">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-27">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-28">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //This is a HBaseContext object.  This is a nice abstraction that will hide&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-29">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-30">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //any complex HBase stuff from us so we can focus on our business case&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-31">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-32">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //HBaseContext is from the SparkOnHBase project which can be found at&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-33">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-34">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  // https://github.com/tmalaska/SparkOnHBase&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-35">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  hbaseContext
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  HBaseContext
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  sc
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  conf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-36">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-37">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-38">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //This is create a reference to our root DStream.  DStreams are like RDDs but&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-39">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-40">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //with the context of being in micro batch world.  I set this to null now&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-41">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-42">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //because I later give the option of populating this data from HDFS or from&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-43">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-44">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //a socket.  There is no reason this could not also be populated by Kafka,&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-45">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-46">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Flume, MQ system, or anything else.  I just focused on these because&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-47">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-48">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //there are the easiest to set up.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-49">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  var
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  lines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  :
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  DStream
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  String
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  null
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-50">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-51">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-52">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Options for data load.  Will be adding Kafka and Flume at some point&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-53">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  args
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  0
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  equals
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "socket"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-54">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  host
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  args
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  FIXED_ARGS
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-55">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  port
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  args
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  FIXED_ARGS
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-56">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-57">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  println
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "host:"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  host
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-58">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  println
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "port:"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Integer
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  parseInt
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  port
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-59">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-60">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-61">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Simple example of how you set up a receiver from a Socket Stream&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-62">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  lines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ssc
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  socketTextStream
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  host
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  port
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toInt
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-63">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  else
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  args
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  0
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  equals
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "newFile"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-64">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-65">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  directory
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  args
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  FIXED_ARGS
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-66">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  println
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "directory:"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  directory
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-67">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-68">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-69">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Simple example of how you set up a receiver from a HDFS folder&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-70">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  lines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ssc
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  fileStream
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  LongWritable
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Text
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  TextInputFormat
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  directory
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  :
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Path
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  true
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  true
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  map
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toString
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-71">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  else
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b59707820893-72">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  throw
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  RuntimeException
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "bad input type"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b59707820893-73">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.2018 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        114到124行: 字符串解析 这里是Spark Streaming的开始的地方. 请看下面四行：:
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383b6d103485053" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;ipKeyLines&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;lines&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;map&lt;/span&gt;&lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;, &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;String&lt;/span&gt;&lt;span class="o"&gt;))](&lt;/span&gt;&lt;span class="n"&gt;eventRecord&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//Get the time and ip address out of the original event&lt;/span&gt;
      &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dateFormat&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;parse&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;
        &lt;span class="n"&gt;eventRecord&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;substring&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;eventRecord&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;indexOf&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="sc"&gt;'['&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eventRecord&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;indexOf&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="sc"&gt;']'&lt;/span&gt;&lt;span class="o"&gt;))).&lt;/span&gt;
        &lt;span class="n"&gt;getTime&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt;
      &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;ipAddress&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;eventRecord&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;substring&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eventRecord&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;indexOf&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="sc"&gt;' '&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;


&lt;span class="c1"&gt;//We are return the time twice because we will use the first at the start time&lt;/span&gt;

&lt;span class="c1"&gt;//and the second as the end time&lt;/span&gt;
      &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ipAddress&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;time&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;eventRecord&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;
    &lt;span class="o"&gt;})&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-8">
                 8
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-9">
                 9
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-10">
                 10
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-11">
                 11
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-12">
                 12
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b6d103485053-13">
                 13
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b6d103485053-14">
                 14
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ipKeyLines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  lines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  map
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  String
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  String
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-2">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-3">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Get the time and ip address out of the original event&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-4">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  time
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  dateFormat
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  parse
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-5">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  substring
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  indexOf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "sc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  '['
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  indexOf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "sc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  ']'
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-6">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  getTime
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-7">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ipAddress
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  substring
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  0
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  indexOf
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "sc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  ' '
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-8">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-9">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-10">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //We are return the time twice because we will use the first at the start time&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-11">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-12">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //and the second as the end time&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b6d103485053-13">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ipAddress
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  time
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  time
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  eventRecord
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b6d103485053-14">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0263 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        上面第一命令是在
        <span class="caps">
         DSTREAM
        </span>
        对象“lines”上进行了map函数和，解析原始事件来分离出的
        <span class="caps">
         IP
        </span>
        地址，时间戳和事件的body。对于那些Spark Streaming的新手，一个
        <span class="caps">
         DSTREAM
        </span>
        保存着要处理的一批记录。这些记录由以前所定义的receiver对象填充，并且此map函数在这个micro-batch内产生另一个
        <span class="caps">
         DSTREAM
        </span>
        存储变换后的记录来进行额外的处理。
       </p>
       <p>
        <img src="https://dn-mtunique.qbox.me/sessionization-f11.png"/>
       </p>
       <p>
        当看像上面的Spark Streaming示意图时，有一些事情要注意：:
       </p>
       <ul>
        <li>
         每个micro-batch在到达构建StreamingContext时设定的那一秒时被销毁
        </li>
        <li>
         <strong>
          Receiver总是用被下一个micro-batch中的
          <span class="caps">
           RDDS
          </span>
          填充
         </strong>
        </li>
        <li>
         之前micro batch中老的RDDs将被清理丢弃
        </li>
       </ul>
       <p>
        126到135行：产生Sessions 现在，我们有从网络日志中获得的
        <span class="caps">
         IP
        </span>
        地址和时间，是时候建立sessions了。下面的代码是通过micro-batch内的第一聚集事件建立session，然后在
        <span class="caps">
         DSTREAM
        </span>
        中reduce这些会话。
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383b77973104995" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;latestSessionInfo&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ipKeyLines&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
      &lt;span class="n"&gt;map&lt;/span&gt;&lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;, &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;))](&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//transform to (ipAddress, (time, time, counter))&lt;/span&gt;
        &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;
      &lt;span class="o"&gt;}).&lt;/span&gt;
      &lt;span class="n"&gt;reduceByKey&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//transform to (ipAddress, (lowestStartTime, MaxFinishTime, sumOfCounter))&lt;/span&gt;
        &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Math&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;min&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt; &lt;span class="nc"&gt;Math&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
      &lt;span class="o"&gt;}).&lt;/span&gt;
      &lt;span class="n"&gt;updateStateByKey&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;updateStatbyOfSessions&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383b77973104995-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b77973104995-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b77973104995-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b77973104995-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b77973104995-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b77973104995-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b77973104995-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b77973104995-8">
                 8
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b77973104995-9">
                 9
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b77973104995-10">
                 10
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b77973104995-11">
                 11
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b77973104995-12">
                 12
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383b77973104995-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  latestSessionInfo
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ipKeyLines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b77973104995-2">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  map
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  String
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b77973104995-3">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b77973104995-4">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //transform to (ipAddress, (time, time, counter))&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b77973104995-5">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b77973104995-6">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b77973104995-7">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  reduceByKey
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b77973104995-8">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b77973104995-9">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //transform to (ipAddress, (lowestStartTime, MaxFinishTime, sumOfCounter))&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b77973104995-10">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Math
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  min
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Math
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  max
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b77973104995-11">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b77973104995-12">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  updateStateByKey
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  updateStatbyOfSessions
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0304 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        这里有一个关于records如何在micro-batch中被reduce的例子：
        <img src="https://dn-mtunique.qbox.me/sessionization-table.png"/>
       </p>
       <p>
        <strong>
         在会话范围内的 micro-batch 内加入，我们可以用超酷的updateStateByKey功能（做join/reduce-like操作
        </strong>
        ）下图说明了就DStreams而言，随着时间变化这个处理过程是怎样的。
       </p>
       <p>
        <img src="https://dn-mtunique.qbox.me/sessionization-f2.png"/>
       </p>
       <p>
        现在，让我们深入到updateStatbyOfSessions函数，它被定义在文件的底部。此代码（注意详细注释）含有大量的魔法，使sessionization发生在micro-batch的连续模式中。
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383b81754545825" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="cm"&gt;/**&lt;/span&gt;

&lt;span class="cm"&gt;* This function will be called for to union of keys in the Reduce DStream&lt;/span&gt;

&lt;span class="cm"&gt;* with the active sessions from the last micro batch with the ipAddress&lt;/span&gt;

&lt;span class="cm"&gt;* being the key&lt;/span&gt;

&lt;span class="cm"&gt;*&lt;/span&gt;

&lt;span class="cm"&gt;* To goal is that this produces a stateful RDD that has all the active&lt;/span&gt;

&lt;span class="cm"&gt;* sessions.  So we add new sessions and remove sessions that have timed&lt;/span&gt;

&lt;span class="cm"&gt;* out and extend sessions that are still going&lt;/span&gt;

&lt;span class="cm"&gt;*/&lt;/span&gt;
  &lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="n"&gt;updateStatbyOfSessions&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;

&lt;span class="c1"&gt;//(sessionStartTime, sessionFinishTime, countOfEvents)&lt;/span&gt;
      &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Seq&lt;/span&gt;&lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;)],&lt;/span&gt;

&lt;span class="c1"&gt;//(sessionStartTime, sessionFinishTime, countOfEvents, isNewSession)&lt;/span&gt;
      &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Option&lt;/span&gt;&lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;)]&lt;/span&gt;
    &lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Option&lt;/span&gt;&lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;)]&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;


&lt;span class="c1"&gt;//This function will return a Optional value.&lt;/span&gt;

&lt;span class="c1"&gt;//If we want to delete the value we can return a optional "None".&lt;/span&gt;

&lt;span class="c1"&gt;//This value contains four parts&lt;/span&gt;

&lt;span class="c1"&gt;//(startTime, endTime, countOfEvents, isNewSession)&lt;/span&gt;
    &lt;span class="k"&gt;var&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt;&lt;span class="k"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;Option&lt;/span&gt;&lt;span class="o"&gt;[(&lt;/span&gt;&lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;, &lt;span class="kt"&gt;Boolean&lt;/span&gt;&lt;span class="o"&gt;)]&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;


&lt;span class="c1"&gt;// These if statements are saying if we didn't get a new event for&lt;/span&gt;

&lt;span class="c1"&gt;//this session's ip address for longer then the session&lt;/span&gt;

&lt;span class="c1"&gt;//timeout + the batch time then it is safe to remove this key value&lt;/span&gt;

&lt;span class="c1"&gt;//from the future Stateful DStream&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;currentTimeMillis&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;SESSION_TIMEOUT&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;11000&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;None&lt;/span&gt;
      &lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_4&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
          &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;
        &lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
          &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Some&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;
        &lt;span class="o"&gt;}&lt;/span&gt;
      &lt;span class="o"&gt;}&lt;/span&gt;
    &lt;span class="o"&gt;}&lt;/span&gt;


&lt;span class="c1"&gt;//Now because we used the reduce function before this function we are&lt;/span&gt;

&lt;span class="c1"&gt;//only ever going to get at most one event in the Sequence.&lt;/span&gt;
    &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;foreach&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
      &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;isEmpty&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//If there was no value in the Stateful DStream then just add it&lt;/span&gt;

&lt;span class="c1"&gt;//new, with a true for being a new session&lt;/span&gt;
        &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Some&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt;
      &lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="nc"&gt;SESSION_TIMEOUT&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//If the session from the stateful DStream has not timed out&lt;/span&gt;

&lt;span class="c1"&gt;//then extend the session&lt;/span&gt;
          &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Some&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;
              &lt;span class="nc"&gt;Math&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;min&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt;
&lt;span class="c1"&gt;//newStartTime&lt;/span&gt;
              &lt;span class="nc"&gt;Math&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;max&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt;
&lt;span class="c1"&gt;//newFinishTime&lt;/span&gt;
              &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;//newSumOfEvents&lt;/span&gt;
              &lt;span class="kc"&gt;false&lt;/span&gt; 
&lt;span class="c1"&gt;//This is not a new session&lt;/span&gt;
            &lt;span class="o"&gt;))&lt;/span&gt;
        &lt;span class="o"&gt;}&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//Otherwise remove the old session with a new one&lt;/span&gt;
          &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Some&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;
              &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;//newStartTime&lt;/span&gt;
              &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;//newFinishTime&lt;/span&gt;
              &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;get&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;//newSumOfEvents&lt;/span&gt;
              &lt;span class="kc"&gt;true&lt;/span&gt; 
&lt;span class="c1"&gt;//new session&lt;/span&gt;
            &lt;span class="o"&gt;))&lt;/span&gt;
        &lt;span class="o"&gt;}&lt;/span&gt;
      &lt;span class="o"&gt;}&lt;/span&gt;
    &lt;span class="o"&gt;})&lt;/span&gt;
    &lt;span class="n"&gt;result&lt;/span&gt;
  &lt;span class="o"&gt;}&lt;/span&gt;
&lt;span class="o"&gt;}&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-8">
                 8
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-9">
                 9
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-10">
                 10
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-11">
                 11
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-12">
                 12
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-13">
                 13
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-14">
                 14
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-15">
                 15
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-16">
                 16
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-17">
                 17
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-18">
                 18
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-19">
                 19
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-20">
                 20
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-21">
                 21
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-22">
                 22
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-23">
                 23
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-24">
                 24
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-25">
                 25
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-26">
                 26
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-27">
                 27
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-28">
                 28
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-29">
                 29
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-30">
                 30
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-31">
                 31
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-32">
                 32
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-33">
                 33
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-34">
                 34
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-35">
                 35
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-36">
                 36
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-37">
                 37
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-38">
                 38
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-39">
                 39
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-40">
                 40
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-41">
                 41
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-42">
                 42
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-43">
                 43
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-44">
                 44
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-45">
                 45
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-46">
                 46
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-47">
                 47
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-48">
                 48
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-49">
                 49
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-50">
                 50
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-51">
                 51
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-52">
                 52
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-53">
                 53
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-54">
                 54
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-55">
                 55
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-56">
                 56
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-57">
                 57
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-58">
                 58
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-59">
                 59
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-60">
                 60
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-61">
                 61
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-62">
                 62
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-63">
                 63
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-64">
                 64
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-65">
                 65
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-66">
                 66
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-67">
                 67
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-68">
                 68
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-69">
                 69
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-70">
                 70
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-71">
                 71
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-72">
                 72
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-73">
                 73
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-74">
                 74
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-75">
                 75
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-76">
                 76
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-77">
                 77
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-78">
                 78
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-79">
                 79
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-80">
                 80
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-81">
                 81
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-82">
                 82
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-83">
                 83
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-84">
                 84
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-85">
                 85
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-86">
                 86
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-87">
                 87
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-88">
                 88
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-89">
                 89
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-90">
                 90
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-91">
                 91
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-92">
                 92
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-93">
                 93
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-94">
                 94
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-95">
                 95
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-96">
                 96
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-97">
                 97
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-98">
                 98
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-99">
                 99
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-100">
                 100
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b81754545825-101">
                 101
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b81754545825-102">
                 102
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383b81754545825-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "cm"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  /**&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-2">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-3">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;* This function will be called for to union of keys in the Reduce DStream&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-4">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-5">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;* with the active sessions from the last micro batch with the ipAddress&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-6">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-7">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;* being the key&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-8">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-9">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;*&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-10">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-11">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;* To goal is that this produces a stateful RDD that has all the active&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-12">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-13">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;* sessions.  So we add new sessions and remove sessions that have timed&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-14">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-15">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;* out and extend sessions that are still going&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-16">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-17">
                 <span class="crayon-c">
                  &lt;span class="cm"&gt;*/
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-18">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  def
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  updateStatbyOfSessions
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-19">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-20">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //(sessionStartTime, sessionFinishTime, countOfEvents)&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-21">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  :
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Seq
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-22">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-23">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //(sessionStartTime, sessionFinishTime, countOfEvents, isNewSession)&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-24">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  :
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Option
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Boolean
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-25">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  :
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Option
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Boolean
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-26">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-27">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-28">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //This function will return a Optional value.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-29">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-30">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //If we want to delete the value we can return a optional "None".&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-31">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-32">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //This value contains four parts&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-33">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-34">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //(startTime, endTime, countOfEvents, isNewSession)&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-35">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  var
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  :
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Option
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Boolean
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  null
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-36">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-37">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-38">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  // These if statements are saying if we didn't get a new event for&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-39">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-40">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //this session's ip address for longer then the session&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-41">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-42">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //timeout + the batch time then it is safe to remove this key value&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-43">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-44">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //from the future Stateful DStream&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-45">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  size
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  0
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-46">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  System
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  currentTimeMillis
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  -
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  SESSION_TIMEOUT
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  11000
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-47">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  None
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-48">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  else
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-49">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _4
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  false
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-50">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-51">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  else
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-52">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Some
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  false
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-53">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-54">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-55">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-56">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-57">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-58">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Now because we used the reduce function before this function we are&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-59">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-60">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //only ever going to get at most one event in the Sequence.&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-61">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  foreach
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-62">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  isEmpty
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-63">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-64">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //If there was no value in the Stateful DStream then just add it&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-65">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-66">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //new, with a true for being a new session&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-67">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Some
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  true
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-68">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  else
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-69">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  if
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  -
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  lt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  SESSION_TIMEOUT
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-70">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-71">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //If the session from the stateful DStream has not timed out&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-72">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-73">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //then extend the session&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-74">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Some
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-75">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Math
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  min
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-76">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //newStartTime&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-77">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Math
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  max
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-78">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //newFinishTime&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-79">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-80">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //newSumOfEvents&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-81">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  false
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-82">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //This is not a new session&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-83">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-84">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  else
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-85">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-86">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Otherwise remove the old session with a new one&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-87">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Some
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-88">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-89">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //newStartTime&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-90">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  c
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-91">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //newFinishTime&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-92">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  get
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-93">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //newSumOfEvents&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-94">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  true
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-95">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //new session&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-96">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-97">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-98">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-99">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-100">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  result
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b81754545825-101">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b81754545825-102">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0939 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        在这段代码做了很多事，而且通过很多方式，这是整个工作中最复杂的部分。总之，它跟踪活动的会话，所以你知道你是继续现有的会话还是启动一个新的。
       </p>
       <p>
        126到207行：计数和HBase 这部分做了大多数计数工作。在这里有很多是重复的，让我们只看一个count的例子，然后一步步地我们把生成的同一个记录counts存储在HBase中。
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383b90877755143" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;onlyActiveSessions&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;latestSessionInfo&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;currentTimeMillis&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="nc"&gt;SESSION_TIMEOUT&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
&lt;span class="err"&gt;…&lt;/span&gt;
&lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;newSessionCount&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;onlyActiveSessions&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//is the session newer then that last micro batch&lt;/span&gt;

&lt;span class="c1"&gt;//and is the boolean saying this is a new session true&lt;/span&gt;
        &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;currentTimeMillis&lt;/span&gt;&lt;span class="o"&gt;()&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;11000&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_4&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
      &lt;span class="o"&gt;}).&lt;/span&gt;
      &lt;span class="n"&gt;count&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
      &lt;span class="n"&gt;map&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;HashMap&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;]](&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nc"&gt;HashMap&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="nc"&gt;NEW_SESSION_COUNTS&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;)))&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383b90877755143-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b90877755143-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b90877755143-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b90877755143-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b90877755143-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b90877755143-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b90877755143-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b90877755143-8">
                 8
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b90877755143-9">
                 9
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b90877755143-10">
                 10
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b90877755143-11">
                 11
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383b90877755143-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  onlyActiveSessions
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  latestSessionInfo
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  filter
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  System
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  currentTimeMillis
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  -
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  lt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  SESSION_TIMEOUT
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b90877755143-2">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "err"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 …
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b90877755143-3">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  newSessionCount
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  onlyActiveSessions
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  filter
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b90877755143-4">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b90877755143-5">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //is the session newer then that last micro batch&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b90877755143-6">
                </div>
                <div class="crayon-line" id="crayon-57686c4383b90877755143-7">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //and is the boolean saying this is a new session true&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b90877755143-8">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  System
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  currentTimeMillis
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  -
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "mi"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-cn">
                  11000
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  amp
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  amp
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _4
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b90877755143-9">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b90877755143-10">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  count
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b90877755143-11">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  map
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  HashMap
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  String
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  HashMap
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  NEW_SESSION_COUNTS
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0269 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        总之，上面的代码是过滤除了活动的会话其他所有会话，对他们进行计数，并把该最终计记录到一个的HashMap实例中。它使用HashMap作为容器，所以在所有的count做完后，我们可以调用下面的reduce函数把他们都到一个单一的记录。 （我敢肯定有更好的方法来实现这一点，但这种方法工作得很好。）
       </p>
       <p>
        接下来，下面的代码处理所有的那些HashMap，并把他们所有的值在一个HashMap中。
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383b99970257384" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;allCounts&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="n"&gt;newSessionCount&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
      &lt;span class="n"&gt;union&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;totalSessionCount&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;
      &lt;span class="n"&gt;union&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;totals&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;
      &lt;span class="n"&gt;union&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;totalEventsCount&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;
      &lt;span class="n"&gt;union&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;deadSessionsCount&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;
      &lt;span class="n"&gt;union&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;totalSessionEventCount&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;
      &lt;span class="n"&gt;reduce&lt;/span&gt;&lt;span class="o"&gt;((&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="o"&gt;++&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383b99970257384-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b99970257384-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b99970257384-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b99970257384-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b99970257384-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383b99970257384-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383b99970257384-7">
                 7
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383b99970257384-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  allCounts
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  newSessionCount
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b99970257384-2">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  union
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  totalSessionCount
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b99970257384-3">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  union
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  totals
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b99970257384-4">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  union
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  totalEventsCount
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b99970257384-5">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  union
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  deadSessionsCount
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383b99970257384-6">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  union
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  totalSessionEventCount
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383b99970257384-7">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  reduce
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  b
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  ++
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  a
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0133 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        用HBaseContext来使Spark Streaming与HBase交互超级简单。所有你需要做的就是用HashMap和函数将其转换为一个put对象提供给
        <span class="caps">
         DSTREAM
        </span>
        。
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383ba0888626244" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="n"&gt;hbaseContext&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;streamBulkPut&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;HashMap&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;String&lt;/span&gt;, &lt;span class="kt"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;]](&lt;/span&gt;
      &lt;span class="n"&gt;allCounts&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;//The input RDD&lt;/span&gt;
      &lt;span class="n"&gt;hTableName&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="c1"&gt;//The name of the table we want to put too&lt;/span&gt;
      &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//Here we are converting our input record into a put&lt;/span&gt;

&lt;span class="c1"&gt;//The rowKey is C for Count and a backward counting time so the newest&lt;/span&gt;

&lt;span class="c1"&gt;//count show up first in HBase's sorted order&lt;/span&gt;
        &lt;span class="k"&gt;val&lt;/span&gt; &lt;span class="n"&gt;put&lt;/span&gt; &lt;span class="k"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Put&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Bytes&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toBytes&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"C."&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Long&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;MaxValue&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="nc"&gt;System&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;currentTimeMillis&lt;/span&gt;&lt;span class="o"&gt;())))&lt;/span&gt;

&lt;span class="c1"&gt;//We are iterating through the HashMap to make all the columns with their counts&lt;/span&gt;
        &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;foreach&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kv&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;put&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;add&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;Bytes&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toBytes&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hFamily&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt; &lt;span class="nc"&gt;Bytes&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toBytes&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kv&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;),&lt;/span&gt; &lt;span class="nc"&gt;Bytes&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toBytes&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;kv&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;toString&lt;/span&gt;&lt;span class="o"&gt;)))&lt;/span&gt;
        &lt;span class="n"&gt;put&lt;/span&gt;
      &lt;span class="o"&gt;},&lt;/span&gt;
      &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-8">
                 8
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-9">
                 9
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-10">
                 10
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-11">
                 11
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-12">
                 12
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-13">
                 13
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-14">
                 14
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-15">
                 15
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-16">
                 16
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-17">
                 17
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba0888626244-18">
                 18
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba0888626244-19">
                 19
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  hbaseContext
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  streamBulkPut
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  HashMap
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  [
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  String
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kt"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  ]
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-2">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  allCounts
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-3">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //The input RDD&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-4">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  hTableName
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-5">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //The name of the table we want to put too&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-6">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-7">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-8">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Here we are converting our input record into a put&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-9">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-10">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //The rowKey is C for Count and a backward counting time so the newest&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-11">
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-12">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //count show up first in HBase's sorted order&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-13">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  val
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  put
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Put
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Bytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toBytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "C."
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  Long
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  MaxValue
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  -
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  System
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  currentTimeMillis
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-14">
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-15">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //We are iterating through the HashMap to make all the columns with their counts&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-16">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-st">
                  foreach
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  kv
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  put
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  add
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Bytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toBytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  hFamily
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Bytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toBytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  kv
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Bytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toBytes
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  kv
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  toString
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-17">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  put
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba0888626244-18">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba0888626244-19">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "kc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-t">
                  false
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0292 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        现在，HBase的这些信息可以用Apache Hive table包起来，然后通过你喜欢的
        <span class="caps">
         BI
        </span>
        工具执行一个查询来获取像下面这样的图，它每次micro-batch会刷新。
        <img src="https://dn-mtunique.qbox.me/sessionization-f3.png"/>
       </p>
       <p>
        209到215行：写入
        <span class="caps">
         HDFS
        </span>
        最后的任务是把拥有事件数据的活动会话信息加入，然后把事件以会话的开始时间来持久化到
        <span class="caps">
         HDFS
        </span>
        。
       </p>
       <div class="highlight">
        <blockquote>
         <p>
         </p>
         <!-- Crayon Syntax Highlighter v_2.7.2_beta -->
         <div class="crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-57686c4383ba9413901519" style=" margin-top: 12px; margin-bottom: 12px; font-size: 12px !important; line-height: 15px !important;">
          <div class="crayon-toolbar" data-settings=" mouseover overlay hide delay" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
           <span class="crayon-title">
           </span>
           <div class="crayon-tools" style="font-size: 12px !important;height: 18px !important; line-height: 18px !important;">
            <div class="crayon-button crayon-nums-button" title="切换是否显示行编号">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-plain-button" title="纯文本显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-wrap-button" title="切换自动换行">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-expand-button" title="点击展开代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-copy-button" title="复制代码">
             <div class="crayon-button-icon">
             </div>
            </div>
            <div class="crayon-button crayon-popup-button" title="在新窗口中显示代码">
             <div class="crayon-button-icon">
             </div>
            </div>
           </div>
          </div>
          <div class="crayon-info" style="min-height: 16.8px !important; line-height: 16.8px !important;">
          </div>
          <div class="crayon-plain-wrap">
           <textarea class="crayon-plain print-no" data-settings="dblclick" readonly="" style="-moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4; font-size: 12px !important; line-height: 15px !important;" wrap="soft">
            &lt;span class="c1"&gt;//Persist to HDFS&lt;/span&gt;
&lt;span class="n"&gt;ipKeyLines&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;join&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;onlyActiveSessions&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;
  &lt;span class="n"&gt;map&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="k"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;{&lt;/span&gt;

&lt;span class="c1"&gt;//Session root start time | Event message&lt;/span&gt;
    &lt;span class="n"&gt;dateFormat&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;format&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Date&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;))&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;"t"&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_2&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_1&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;_3&lt;/span&gt;
  &lt;span class="o"&gt;}).&lt;/span&gt;
  &lt;span class="n"&gt;saveAsTextFiles&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;outputDir&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s"&gt;"/session"&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="s"&gt;"txt"&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt;
           </textarea>
          </div>
          <div class="crayon-main" style="">
           <table class="crayon-table">
            <tbody>
             <tr class="crayon-row">
              <td class="crayon-nums " data-settings="show">
               <div class="crayon-nums-content" style="font-size: 12px !important; line-height: 15px !important;">
                <div class="crayon-num" data-line="crayon-57686c4383ba9413901519-1">
                 1
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba9413901519-2">
                 2
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba9413901519-3">
                 3
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba9413901519-4">
                 4
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba9413901519-5">
                 5
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba9413901519-6">
                 6
                </div>
                <div class="crayon-num" data-line="crayon-57686c4383ba9413901519-7">
                 7
                </div>
                <div class="crayon-num crayon-striped-num" data-line="crayon-57686c4383ba9413901519-8">
                 8
                </div>
               </div>
              </td>
              <td class="crayon-code">
               <div class="crayon-pre" style="font-size: 12px !important; line-height: 15px !important; -moz-tab-size:4; -o-tab-size:4; -webkit-tab-size:4; tab-size:4;">
                <div class="crayon-line" id="crayon-57686c4383ba9413901519-1">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Persist to HDFS&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba9413901519-2">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  ipKeyLines
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  join
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  onlyActiveSessions
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba9413901519-3">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  map
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;=
                 </span>
                 <span class="crayon-o">
                  &amp;
                 </span>
                 <span class="crayon-v">
                  gt
                 </span>
                 <span class="crayon-sy">
                  ;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  {
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba9413901519-4">
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba9413901519-5">
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "c1"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-c">
                  //Session root start time | Event message&lt;/span&gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba9413901519-6">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  dateFormat
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  format
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "k"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-r">
                  new
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "nc"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  Date
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "t"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  t
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _2
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _1
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  _3
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line" id="crayon-57686c4383ba9413901519-7">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  }
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-sy">
                  .
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
                <div class="crayon-line crayon-striped-line" id="crayon-57686c4383ba9413901519-8">
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  saveAsTextFiles
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  (
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "n"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-v">
                  outputDir
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  +
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "/session"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  ,
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-h">
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "s"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-s">
                  "txt"
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-e">
                  span
                 </span>
                 <span class="crayon-t">
                  class
                 </span>
                 <span class="crayon-o">
                  =
                 </span>
                 <span class="crayon-s">
                  "o"
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                 <span class="crayon-sy">
                  )
                 </span>
                 <span class="crayon-o">
                  &lt;
                 </span>
                 <span class="crayon-o">
                  /
                 </span>
                 <span class="crayon-v">
                  span
                 </span>
                 <span class="crayon-o">
                  &gt;
                 </span>
                </div>
               </div>
              </td>
             </tr>
            </tbody>
           </table>
          </div>
         </div>
         <!-- [Format Time: 0.0165 seconds] -->
         <p>
         </p>
        </blockquote>
       </div>
       <p>
        结论
       </p>
       <p>
        我希望你跳出这个例子 来走像了很多工作，感觉与代码只是一点点做，因为它是。想象一下你还可以用这种模式和Spark Streaming与HBase
        <span class="caps">
         HDFS
        </span>
        很容易交互的这种能力做什么东西。
       </p>
      </div>
      <div>
       <strong>
        注：转载文章均来自于公开网络，仅供学习使用，不会用于任何商业用途，如果侵犯到原作者的权益，请您与我们联系删除或者授权事宜，联系邮箱：contact@dataunion.org。转载数盟网站文章请注明原文章作者，否则产生的任何版权纠纷与数盟无关。
       </strong>
      </div>
      <!--content_text-->
      <div class="fenxian">
       <!-- JiaThis Button BEGIN -->
       <div class="jiathis_style_32x32">
        <p class="jiathis_button_weixin">
        </p>
        <p class="jiathis_button_tsina">
        </p>
        <p class="jiathis_button_qzone">
        </p>
        <p class="jiathis_button_cqq">
        </p>
        <p class="jiathis_button_tumblr">
        </p>
        <a class="jiathis jiathis_txt jtico jtico_jiathis" href="http://www.jiathis.com/share" target="_blank">
        </a>
        <p class="jiathis_counter_style">
        </p>
       </div>
       <!-- JiaThis Button END -->
      </div>
     </article>
     <!--content-->
     <!--相关文章-->
     <div class="xianguan">
      <div class="xianguantitle">
       相关文章！
      </div>
      <ul class="pic">
       <li>
        <a href="http://dataunion.org/20824.html">
         <img src="http://dataunion.org/wp-content/uploads/2015/09/t018630756a7e263b33-300x165.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/20824.html" rel="bookmark" title="如何判断一笔交易是否属于欺诈？你只是需要一点数据挖掘">
         如何判断一笔交易是否属于欺诈？你只是需要一点数据挖掘
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/20820.html">
         <img src="http://dataunion.org/wp-content/uploads/2015/09/1-300x200.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/20820.html" rel="bookmark" title="人们对Python在企业级开发中的10大误解">
         人们对Python在企业级开发中的10大误解
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/20811.html">
         <img src="http://dataunion.org/wp-content/uploads/2015/09/t0133fcacae8523307b_副本-300x200.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/20811.html" rel="bookmark" title="大神亲传：26条深度学习的金科玉律！">
         大神亲传：26条深度学习的金科玉律！
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/20808.html">
         <img src="http://dataunion.org/wp-content/uploads/2015/09/640.webp-11-300x137.jpg"/>
        </a>
        <a class="link" href="http://dataunion.org/20808.html" rel="bookmark" title="我们是如何在一张地图上表现86万个数据的">
         我们是如何在一张地图上表现86万个数据的
        </a>
       </li>
      </ul>
     </div>
     <!--相关文章-->
     <div class="comment" id="comments">
      <!-- You can start editing here. -->
      <!-- If comments are open, but there are no comments. -->
      <div class="title">
       期待你一针见血的评论，Come on！
      </div>
      <div id="respond">
       <p>
        不用想啦，马上
        <a href="http://dataunion.org/wp-login.php?redirect_to=http%3A%2F%2Fdataunion.org%2F19786.html">
         "登录"
        </a>
        发表自已的想法.
       </p>
      </div>
     </div>
     <!-- .nav-single -->
    </div>
    <!--Container End-->
    <aside id="sitebar">
     <div class="sitebar_list2">
      <div class="wptag">
       <span class="tagtitle">
        热门标签+
       </span>
       <div class="tagg">
        <ul class="menu" id="menu-%e5%8f%8b%e6%83%85%e9%93%be%e6%8e%a5">
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1605" id="menu-item-1605">
          <a href="http://taidizh.com/">
           泰迪智慧
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-20884" id="menu-item-20884">
          <a href="http://www.transwarp.cn/">
           星环科技
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3538" id="menu-item-3538">
          <a href="http://datall.org/">
           珈和遥感
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-20888" id="menu-item-20888">
          <a href="http://www.chinahadoop.cn/">
           小象学院
          </a>
         </li>
        </ul>
       </div>
      </div>
     </div>
     <div class="sitebar_list">
      <div class="textwidget">
       <div align="center">
        <a href="http://study.163.com/course/courseMain.htm?courseId=991022" target="_blank">
         <img src="http://dataunion.org/wp-content/uploads/2016/03/dv.jpg"/>
        </a>
       </div>
      </div>
     </div>
     <div class="sitebar_list">
      <h4 class="sitebar_title">
       文章分类
      </h4>
      <div class="tagcloud">
       <a class="tag-link-44" href="http://dataunion.org/category/industry/demo" style="font-size: 10.204724409449pt;" title="4个话题">
        Demo展示
       </a>
       <a class="tag-link-31" href="http://dataunion.org/category/experts" style="font-size: 15.826771653543pt;" title="52个话题">
        专家团队
       </a>
       <a class="tag-link-870" href="http://dataunion.org/category/tech/ai" style="font-size: 19.795275590551pt;" title="273个话题">
        人工智能
       </a>
       <a class="tag-link-488" href="http://dataunion.org/category/%e5%8a%a0%e5%85%a5%e6%95%b0%e7%9b%9f" style="font-size: 8pt;" title="1个话题">
        加入数盟
       </a>
       <a class="tag-link-869" href="http://dataunion.org/category/tech/viz" style="font-size: 17.204724409449pt;" title="93个话题">
        可视化
       </a>
       <a class="tag-link-30" href="http://dataunion.org/category/partners" style="font-size: 10.645669291339pt;" title="5个话题">
        合作伙伴
       </a>
       <a class="tag-link-889" href="http://dataunion.org/category/parterc" style="font-size: 11.582677165354pt;" title="8个话题">
        合作会议
       </a>
       <a class="tag-link-104" href="http://dataunion.org/category/books" style="font-size: 12.96062992126pt;" title="15个话题">
        图书
       </a>
       <a class="tag-link-220" href="http://dataunion.org/category/tech/base" style="font-size: 19.850393700787pt;" title="281个话题">
        基础架构
       </a>
       <a class="tag-link-219" href="http://dataunion.org/category/tech/analysis" style="font-size: 19.409448818898pt;" title="232个话题">
        数据分析
       </a>
       <a class="tag-link-887" href="http://dataunion.org/category/tech/dm" style="font-size: 13.291338582677pt;" title="17个话题">
        数据挖掘
       </a>
       <a class="tag-link-34" href="http://dataunion.org/category/tech" style="font-size: 20.732283464567pt;" title="404个话题">
        文章
       </a>
       <a class="tag-link-1" href="http://dataunion.org/category/uncategorized" style="font-size: 22pt;" title="693个话题">
        未分类
       </a>
       <a class="tag-link-4" href="http://dataunion.org/category/events" style="font-size: 14.503937007874pt;" title="29个话题">
        活动
       </a>
       <a class="tag-link-890" href="http://dataunion.org/category/tech/%e6%b7%b1%e5%ba%a6%e5%ad%a6%e4%b9%a0" style="font-size: 10.204724409449pt;" title="4个话题">
        深度学习
       </a>
       <a class="tag-link-221" href="http://dataunion.org/category/tech/devl" style="font-size: 18.968503937008pt;" title="193个话题">
        编程语言
       </a>
       <a class="tag-link-888" href="http://dataunion.org/category/career" style="font-size: 15.661417322835pt;" title="48个话题">
        职业规划
       </a>
       <a class="tag-link-5" href="http://dataunion.org/category/jobs" style="font-size: 14.11811023622pt;" title="25个话题">
        职位
       </a>
       <a class="tag-link-871" href="http://dataunion.org/category/industry" style="font-size: 15.716535433071pt;" title="49个话题">
        行业
       </a>
       <a class="tag-link-613" href="http://dataunion.org/category/industry/case" style="font-size: 16.984251968504pt;" title="84个话题">
        行业应用
       </a>
       <a class="tag-link-885" href="http://dataunion.org/category/industry/news" style="font-size: 17.425196850394pt;" title="102个话题">
        行业资讯
       </a>
       <a class="tag-link-10" href="http://dataunion.org/category/training" style="font-size: 14.228346456693pt;" title="26个话题">
        课程
       </a>
       <a class="tag-link-16" href="http://dataunion.org/category/sources" style="font-size: 15.661417322835pt;" title="48个话题">
        资源
       </a>
      </div>
     </div>
     <div class="sitebar_list">
      <h4 class="sitebar_title">
       功能
      </h4>
      <ul>
       <li>
        <a href="http://dataunion.org/wp-login.php?action=register">
         注册
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/wp-login.php">
         登录
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/feed">
         文章
         <abbr title="Really Simple Syndication">
          RSS
         </abbr>
        </a>
       </li>
       <li>
        <a href="http://dataunion.org/comments/feed">
         评论
         <abbr title="Really Simple Syndication">
          RSS
         </abbr>
        </a>
       </li>
       <li>
        <a href="https://cn.wordpress.org/" title="基于WordPress，一个优美、先进的个人信息发布平台。">
         WordPress.org
        </a>
       </li>
      </ul>
     </div>
    </aside>
    <div class="clear">
    </div>
   </div>
   <!--main-->
   ﻿
   <footer id="dibu">
    <div class="about">
     <div class="right">
      <ul class="menu" id="menu-%e5%ba%95%e9%83%a8%e8%8f%9c%e5%8d%95">
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-18024" id="menu-item-18024">
        <a href="http://dataunion.org/category/partners">
         合作伙伴
        </a>
       </li>
       <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20881" id="menu-item-20881">
        <a href="http://dataunion.org/contribute">
         文章投稿
        </a>
       </li>
       <li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-20872" id="menu-item-20872">
        <a href="http://dataunion.org/category/%e5%8a%a0%e5%85%a5%e6%95%b0%e7%9b%9f">
         加入数盟
        </a>
       </li>
       <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-22441" id="menu-item-22441">
        <a href="http://dataunion.org/f-links">
         友情链接
        </a>
       </li>
       <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-20874" id="menu-item-20874">
        <a href="http://dataunion.org/aboutus">
         关于数盟
        </a>
       </li>
      </ul>
      <p class="banquan">
       数盟社区        ，
        做最棒的数据科学社区
      </p>
     </div>
     <div class="left">
      <ul class="bottomlist">
       <li>
        <a href="http://weibo.com/DataScientistUnion  " target="_blank" 　title="">
         <img src="http://dataunion.org/wp-content/themes/yzipi/images/weibo.png"/>
        </a>
       </li>
       <li>
        <a class="cd-popup-trigger" href="http://dataunion.org/19786.html#0">
         <img src="http://dataunion.org/wp-content/themes/yzipi/images/weixin.png"/>
        </a>
       </li>
      </ul>
      <div class="cd-popup">
       <div class="cd-popup-container">
        <h1>
         扫描二维码,加微信公众号
        </h1>
        <img src="http://dataunion.org/wp-content/themes/yzipi/images/2014-12-06-1515289049.png"/>
        <a class="cd-popup-close" href="http://dataunion.org/19786.html">
        </a>
       </div>
       <!-- cd-popup-container -->
      </div>
      <!-- cd-popup -->
     </div>
    </div>
    <!--about-->
    <div class="bottom">
     <a href="http://dataunion.org/">
      数盟社区
     </a>
     <a href="http://www.miitbeian.gov.cn/" rel="external nofollow" target="_blank">
      京ICP备14026740号
     </a>
     联系我们：
     <a href="mailto:contact@dataunion.org" target="_blank">
      contact@dataunion.org
     </a>
     <div class="tongji">
     </div>
     <!--bottom-->
     <div class="scroll" id="scroll" style="display:none;">
      ︿
     </div>
    </div>
   </footer>
   <!--dibu-->
  </div>
 </body>
</html>